/* vim:ft=objc:
 * $Id: Growl.h 152 2005-11-28 01:53:29Z bmoore $
 *
 * Copyright (c) 2004, 2005  Branden J. Moore.
 *
 * This file is part of MacBiff, and is free software; you can redistribute
 * it and/or modify it under the terms of the GNU General Public License
 * version 2 as published by the Free Software Foundation.
 *
 * MacBiff is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 * more details.
 *
 * You should have received a copy of the GNU General Public License along
 * with MacBiff; if not, write to the Free Software Foundation, Inc., 59
 * Temple Place, Suite 330, Boston, MA  02111-1307 USA.
 *
 */

#import <Cocoa/Cocoa.h>
#import <MacBiffPlugIn/Action.h>
#import <MacBiffPlugIn/Account.h>
#import <MacBiffPlugIn/Folder.h>
#import <Growl/GrowlApplicationBridge.h>

@interface Growl : Action<GrowlApplicationBridgeDelegate>
{
	NSData *iconData;
	NSArray *notificationNames;

	IBOutlet NSTextField *titleStringField;
	IBOutlet NSTextField *stringField;
	IBOutlet NSTextField *perFolderField;
	IBOutlet NSTextField *perMessageField;
	IBOutlet NSPopUpButton *verbosityPopUp;

}

- (NSString*) buildString: (NSString*) oStr fromAccount: (Account*) acct;
- (NSString*) buildString: (NSString*) oStr fromFolder: (Folder*) folder;
- (NSString*) buildString: (NSString*) oStr fromMessage: (Message*) msg;

- (IBAction) setTitleString: (id) sender;
- (IBAction) setNotifyString: (id) sender;
- (IBAction) setVerbosity: (id) sender;

@end
